package com.imooc.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Set;

@Data
public class UserInfo {
    private  Integer userId;
    private String userNickname;
    private String buyerOpenid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime4;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime4;
    private int userInfoLabel;
    private String userHeadurl;
    private String userSex;
    private  String userCountry;
    private String userProvince;
    private String userCity;
    private String userPhone;
    private String userName;

    //private Set<Order> orders;
    private Set<UserAddressinfo> userAddressinfos;
    private List<Board> boards;


}
